package com.u.finance.loans.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.math.BigDecimal;

/**
 * @program: u-finance
 * @description: 远程调用微服务
 * @author: Alex Wu
 * @createDate: 2025-03-31 15:27
 **/

@FeignClient(value = "u-pay")
public interface PayFeign {

    @RequestMapping("/pay/transferCount")
    boolean transferCount(String payoutAccount, BigDecimal amount, Integer payType) ;
}
